package pers.cj.pdos.mapper;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.Transfer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import pers.cj.pdos.vo.PacketVo;
import pers.cj.pdos.vo.TransferVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface TransferMapper extends BaseMapper<Transfer> {

    List<TransferVo> listVo(@Param("companyId") String companyId, @Param("page") Integer page, @Param("limit")Integer limit,
                            @Param("close")Boolean close, @Param("search")String search);

    Long count(@Param("companyId")String companyId, @Param("close")Boolean close, @Param("search")String search);

    TransferVo getVoById(@Param("id")String id);
}
